package com.loan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author
 * @since 2021-10-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Admin implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 管理员id
     */
    @TableId(value = "adminId", type = IdType.AUTO)
    private Integer adminId;

    /**
     * 管理员名
     */
    @TableField("adminName")
    private String adminName;

    /**
     * 密码
     */
    @TableField("adminPassword")
    private String adminPassword;

    /**
     * 角色
     */
    @TableField("adminRole")
    private String adminRole;

    /**
     * 手机号
     */
    @TableField("adminMobile")
    private String adminMobile;

    /**
     * 性别
1:男
2：女
     */
    @TableField("adminSex")
    private String adminSex;

    /**
     * 邮件
     */
    @TableField("adminEmail")
    private String adminEmail;


}
